package com.example.javatwo.pojo.xs.lyh;

public class allocatedetail {

//	CREATE TABLE AllocatedDetail(
//		serNo INT(10) not null AUTO_INCREMENT, /*栏号*/
//		moveNo VARCHAR(20) null,	/*主表编号*/
//		prodID VARCHAR(50) null,	/*物料编号*/
//		prdClassName VARCHAR(50) null,	/*物料名称*/
//		prodSize     VARCHAR(50) null,	/*规格型号*/
//		unit         VARCHAR(20) null,	/*单位*/
//		quantity     double null,	/*数量*/
//		haveBatch    VARCHAR(20)  null,	/*批号*/
//		itemRemark   VARCHAR(50)  null,	/*分录备注*/
//		FOREIGN KEY(moveNo) REFERENCES Allocated(moveNo),
//		PRIMARY KEY(serNo)
//	); 
	
	public int serNo;/*栏号*/
	public String moveNo;/*主表编号*/
	public String prodID;/*物料编号*/
	public String prdClassName;/*物料名称*/
	public String prodSize;/*规格型号*/
	public String unit;/*单位*/
	public double quantity;/*数量*/
	public String haveBatch;/*批号*/
	public String itemRemark;/*分录备注*/
	public allocate cate;
	public int getSerNo() {
		return serNo;
	}
	public void setSerNo(int serNo) {
		this.serNo = serNo;
	}
	public String getMoveNo() {
		return moveNo;
	}
	public void setMoveNo(String moveNo) {
		this.moveNo = moveNo;
	}
	public String getProdID() {
		return prodID;
	}
	public void setProdID(String prodID) {
		this.prodID = prodID;
	}
	public String getPrdClassName() {
		return prdClassName;
	}
	public void setPrdClassName(String prdClassName) {
		this.prdClassName = prdClassName;
	}
	public String getProdSize() {
		return prodSize;
	}
	public void setProdSize(String prodSize) {
		this.prodSize = prodSize;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public double getQuantity() {
		return quantity;
	}
	public void setQuantity(double quantity) {
		this.quantity = quantity;
	}
	public String getHaveBatch() {
		return haveBatch;
	}
	public void setHaveBatch(String haveBatch) {
		this.haveBatch = haveBatch;
	}
	public String getItemRemark() {
		return itemRemark;
	}
	public void setItemRemark(String itemRemark) {
		this.itemRemark = itemRemark;
	}
	public allocate getCate() {
		return cate;
	}
	public void setCate(allocate cate) {
		this.cate = cate;
	}
	
	
	
	public allocatedetail(String moveNo, String prodID, String prdClassName, String prodSize, String unit,
			double quantity, String haveBatch, String itemRemark) {
		super();
		this.moveNo = moveNo;
		this.prodID = prodID;
		this.prdClassName = prdClassName;
		this.prodSize = prodSize;
		this.unit = unit;
		this.quantity = quantity;
		this.haveBatch = haveBatch;
		this.itemRemark = itemRemark;
	}
	public allocatedetail(int serNo, String moveNo, String prodID, String prdClassName, String prodSize, String unit,
			double quantity, String haveBatch, String itemRemark, allocate cate) {
		super();
		this.serNo = serNo;
		this.moveNo = moveNo;
		this.prodID = prodID;
		this.prdClassName = prdClassName;
		this.prodSize = prodSize;
		this.unit = unit;
		this.quantity = quantity;
		this.haveBatch = haveBatch;
		this.itemRemark = itemRemark;
		this.cate = cate;
	}
	public allocatedetail(int serNo, String moveNo, String prodID, String prdClassName, String prodSize, String unit,
			double quantity, String haveBatch, String itemRemark) {
		super();
		this.serNo = serNo;
		this.moveNo = moveNo;
		this.prodID = prodID;
		this.prdClassName = prdClassName;
		this.prodSize = prodSize;
		this.unit = unit;
		this.quantity = quantity;
		this.haveBatch = haveBatch;
		this.itemRemark = itemRemark;
	}
	public allocatedetail() {
		super();
	}
	@Override
	public String toString() {
		return "allocatedetail [serNo=" + serNo + ", moveNo=" + moveNo + ", prodID=" + prodID + ", prdClassName="
				+ prdClassName + ", prodSize=" + prodSize + ", unit=" + unit + ", quantity=" + quantity + ", haveBatch="
				+ haveBatch + ", itemRemark=" + itemRemark + ", cate=" + cate + "]";
	}
	
	
}
